package br.com.ordersys.web.services;

import br.com.ordersys.framework.restlayer.auth.AuthenticationData;
import br.com.ordersys.framework.xml.Unmarshallable;

public interface IUserServices {
	void changePassword();

	void removePicture();

	AuthenticationData login();

	void savePicture();

	void sendPasswordRecoveryMessage();

	void resetPassword();

	@Unmarshallable
	public static class ChangePasswordInput {
		private String password;
		
		String getPassword() {
			return password;
		}
		
		void setPassword(String password) {
			this.password = password;
		}
		
	}
	
	@Unmarshallable
	public static class PasswordResetInput {
		private String password;
		private String resetID;
		
		public String getPassword() {
			return password;
		}
		
		public void setPassword(String password) {
			this.password = password;
		}
		
		public String getResetID() {
			return resetID;
		}
		
		public void setResetID(String resetID) {
			this.resetID = resetID;
		}
		
	}
	
	@Unmarshallable
	public class LoginInput {
		private String email;
		private String password;
		private String matricula;
		
		public String getEmail() {
			return email;
		}
		
		public void setEmail(String email) {
			this.email = email;
		}
		
		public String getPassword() {
			return password;
		}
		
		public void setPassword(String password) {
			this.password = password;
		}
		
		public String getMatricula() {
			return matricula;
		}
		
		public void setMatricula(String matricula) {
			this.matricula = matricula;
		}
	}
}
